package com.guijq.selfcode.dynamicproxy;

import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;

/**
 * @author yangjf
 * @time 2019-07-24 9:37
 */
public class ImplHandler implements InvocationHandler {
    @Override
    public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
        System.out.println("h1");
//        method.invoke(args);
        System.out.printf("h2");
        return null;
    }
}
